package hehe;

import app.service.MyInterceptor;
import app.service.TargetObject;
import hehe.log.Log;
import hehe.log.LogManager;
import hehe.log.build.PropertyConfig;

import java.util.Map;

/**
 * Created by xfw on 17-5-26.
 */
public class MainTest {

    public static void main(String[] args) {


        PropertyConfig propertyConfig = new PropertyConfig();
        try {
            System.out.println(System.getProperty("user.dir"));
            Log.error("okndmddd");
        } catch (Exception ex) {
            ex.printStackTrace();
        }





//        //目标对象
//        TargetObject target = new TargetObject();
//        //拦截器
//        MyInterceptor myInterceptor = new MyInterceptor(target);
//        //代理对象，调用cglib系统方法自动生成
//        //注意：代理类是目标类的子类。
//        TargetObject proxyObj = (TargetObject) myInterceptor.createProxy();
//        proxyObj.business();
    }

}
